<!-- Left Sidebar -->
<aside id="leftsidebar" class="sidebar">
    <!-- Menu -->
    <div class="menu">
        <ul class="list">
            <li>
                <!-- User Info -->
                <div class="user-info">
                    <div class="admin-image"> <img src="/img/index/LOGO.png" alt="profile img"> </div>
                    <div class="admin-action-info"> <span>欢迎👏</span>
                        <h3>{{Auth::user()->name}}</h3>
                        <ul>
                            <li><a data-placement="bottom" title="消息" href="javascript:;"><i class="zmdi zmdi-notifications"></i></a></li>
                            <li><a data-placement="bottom" title="个人资料" href="javascript:;"><i class="zmdi zmdi-account"></i></a></li>
                            <li><a data-placement="bottom" title="登出" href="{{ route('admin_logout') }}" onclick="event.preventDefault();
                                     document.getElementById('logout-form').submit();"><i class="zmdi zmdi-sign-in"></i></a></li>
                            <form id="logout-form" action="{{ route('admin_logout') }}" method="POST" style="display: none;">
                                {{ csrf_field() }}
                            </form>
                        </ul>
                    </div>
                </div>
                <!-- #User Info -->
            </li>
            <li class="header">MAIN NAVIGATION</li>

            <li class="{{Request::getPathinfo()=='/admin/index' ? "active open" : ''}}"> <a href="{{url('admin/index')}}" class="menu-toggle"><i class="zmdi zmdi-home"></i><span>控制面板</span> </a>

            </li>
            <li class="{{stristr(Request::getPathinfo(),'/admin/order') ? "active open" : ''}}"> <a href="javascript:void(0);" class="menu-toggle"><i class="zmdi zmdi-email"></i><span>订单管理</span> </a>
                <ul class="ml-menu">
                    <li><a href="{{url('admin/order')}}">全部订单</a></li>
                    {{--<li><a href="{{url('admin/order/overdue')}}">过期订单</a></li>--}}
                    <li><a href="{{url('admin/order/statistics')}}">订单统计</a></li>
                </ul>
            </li>
            <li {{stristr(Request::getPathinfo(),'/admin/article') ? "active open" : ''}}> <a href="javascript:void(0);" class="menu-toggle"><i class="zmdi zmdi-delicious"></i><span>内容管理</span> </a>
                <ul class="ml-menu">
                    <li> <a href="{{url('admin/article')}}">文章管理</a></li>
                    <li> <a href="{{url('admin/article_type')}}">分类管理</a></li>
                    <li> <a href="{{url('admin/apage')}}">单页管理</a></li>
                </ul>
            </li>
            <li {{stristr(Request::getPathinfo(),'/admin/user') ? "active open" : ''}}> <a href="javascript:void(0);" class="menu-toggle"><i class="zmdi zmdi-swap-alt"></i><span>用户管理</span> </a>
                <ul class="ml-menu">
                    <li> <a href="{{url('admin/user')}}">用户管理</a> </li>
                    <li> <a href="{{url('admin/tag')}}">用户标签</a></li>
                    <li> <a href="{{url('admin/admin')}}">管理员</a></li>
                </ul>
            </li>
            <li {{Request::getPathinfo()=='/admin/media' ? "active open" : ''}}> <a href="javascript:void(0);" class="menu-toggle"><i class="zmdi zmdi-assignment"></i><span>媒体管理</span> </a>
                <ul class="ml-menu">
                    <li><a href="{{url('admin/media/slide')}}">幻灯内容</a> </li>
                    <li><a href="{{url('admin/media/block')}}">块</a> </li>
                </ul>
            </li>
            <li {{Request::getPathinfo()=='/admin/seting' ? "active open" : ''}}> <a href="javascript:void(0);" class="menu-toggle"><i class="zmdi zmdi-grid"></i><span>系统设置</span> </a>
                <ul class="ml-menu">
                    <li> <a href="{{url('admin/seting/website')}}">站点信息</a> </li>
                    <li> <a href="{{url('admin/seting/contact')}}">联系信息</a> </li>
                    <li> <a href="{{url('admin/log')}}">日志管理</a> </li>
                </ul>
            </li>

            <li class="header">LABELS</li>
            <li> <a href="{{url('/')}}" target="_blank"><i class="zmdi zmdi-chart-donut col-red"></i><span>诚信首页</span> </a> </li>
            <li> <a href="{{url('/weixin')}}" target="_blank"><i class="zmdi zmdi-chart-donut col-amber"></i><span>微信首页</span> </a> </li>
            <li> <a href="{{url('/xiu')}}" target="_blank"><i class="zmdi zmdi-chart-donut col-blue"></i><span>易企秀首页</span> </a> </li>
        </ul>
    </div>
    <!-- #Menu -->
</aside>
<!-- #END# Left Sidebar -->
